<?php                      
    include("public/includes/header.php");
    include("public/includes/mainleft.php");
    include("public/includes/hinhcuontheotrang.html");
?>
    <div id="mainnaviright">
        <div id="topmenu">
            <ul>
                <li><a href="#">Danh lam</a></li>
                <li><a href="#">Di tích</a></li>
                <li><a href="#">Khu du lịch</a></li>
                <li><a href="#">Khách sạn</a></li>
                <li><a href="#" class="no_border">Ẩm thực</a></li>
            
            </ul>
        
        </div>
    <!-- slide anh-->
        <div id='wrapperslide'>
		
		<!--<div id='body'> -->
			<div id="bigPic">
				<img src="imgs/1.jpg" alt="" />
				<img src="imgs/2.jpg" alt="" />
				<img src="imgs/3.jpg" alt="" />
				<img src="imgs/4.jpg" alt="" />
				<img src="imgs/5.jpg" alt="" />
				<img src="imgs/6.jpg" alt="" />
				<img src="imgs/7.jpg" alt="" />
				<img src="imgs/8.jpg" alt="" />
				<img src="imgs/9.jpg" alt="" />
				<img src="imgs/10.jpg" alt="" /> 
			</div>
			<!-- end div bigPic-->
			<div id="min">
			<ul id="thumbs">
				<li class='active' rel='1'><img src="imgs/1_thumb.jpg" alt="" /></li>
				<li rel='2'><img src="imgs/3_thumb.jpg" alt="" /></li>
				<li rel='3'><img src="imgs/4_thumb.jpg" alt="" /></li>
				<li rel='4'><img src="imgs/5_thumb.jpg" alt="" /></li>
				<li rel='5'><img src="imgs/6_thumb.jpg" alt="" /></li>
				<li rel='6'><img src="imgs/7_thumb.jpg" alt="" /></li>
				<li rel='7'><img src="imgs/8_thumb.jpg" alt="" /></li>
				<li rel='8'><img src="imgs/9_thumb.jpg" alt="" /></li>
				<li rel='9'><img src="imgs/10_thumb.jpg" alt="" /></li>
				<li rel='10'><img src="imgs/2_thumb.jpg" alt="" /></li>
			</ul>
	       	</div><!-- end div min-->
		<!--</div><!-- end div body-->
		<!--<div class='clearfix'></div><!-- end div clearfix-->
		<!--<div id='push'></div><!-- end div push-->
	</div>
	<!-- end div wrapperslide-->
    <!-- ket thuc slide anh-->
    
       <div id="diemdulich">
      <h3>Thông tin du lịch</h3>
        <div class="baituongtrung">
          <?php	         
             $res = $this->container->ExecuteTable("container","1 order by ID DESC limit 0,1");
                    while($record = mysql_fetch_array($res)){
    					$mabaiviet = $record['ID'];
    					$name = $record['name'];
    					$gioithieu=$record['gioithieu'];
                        $anh=$record['anh'];
                        echo "<a href='./?rt=page&id={$record['ID']}' rel='lightbox'><img src='upload/images/{$anh}' width=120 height=120/></a>";
                        echo "<h4><a href='./?rt=page&id={$record['ID']}' title='$name'>".$name."</a></h4></br>";
                        echo "<div class=gioithieu>".$gioithieu."</div>";
	}
        ?>
        
        </div><!-- End div baituongtrung-->
        <div class="listbailienquan">
         
       <?php
	
            // $p = isset($_GET['p'])? $_GET['p'] : 0;	
          //  foreach($this->listContainer($p) as $value){
            //    echo $value;
           // }
           // echo $this->breakPage;
           
             $res = $this->container->ExecuteTable("container","1 order by ID DESC limit 1,10");
                    while($record = mysql_fetch_array($res)){
    					$mabaiviet = $record['ID'];
    					$name = $record['name'];
                        $anh=$record['anh'];
    					$gioithieu=$record['gioithieu'];
         ?>
                        <a href='./?rt=page&id=<?php echo $record['ID']; ?>' title='<?php echo $gioithieu ?>'> <?php echo $name ?></a></br>
                        
<?php	}
        ?>
        <!-- <img src="Public/images/bgcontent.png"/>-->
        </div> <!-- end div listbailienquan-->
        </div> <!-- end div diemdul?ch-->
       
       
       
        <!-- begin div tuadulich -->
              <div id="tuadulich">
             <h3>Thông tin tua du lịch</h3>
        <div class="baituongtrung">
          <?php
	
            // $p = isset($_GET['p'])? $_GET['p'] : 0;	
          //  foreach($this->listContainer($p) as $value){
            //    echo $value;
           // }
           // echo $this->breakPage;
            $res = $this->container->ExecuteTable("tour_dulich","1 order by id_tour DESC LIMIT 0,1");
                    while($record = mysql_fetch_array($res)){
    					$mabaiviet = $record['id_tour'];
    					$name = $record['ten_tour'];
    					$gioithieu=$record['gioithieu'];
                        $anh=$record['hinhminhhoa'];
                                                
                        echo "<a href='./?rt=page&idtour={$record['id_tour']}' rel='lightbox'>
                                <img src='upload/images/{$anh}' width=120 height=120/>
                             </a>";
                        echo "<h4><a href='./?rt=page&idtour={$record['id_tour']}' title='$name'>".$name."</a></h4></br>";
                        echo "<div class=gioithieu>".$gioithieu."</div>";
	}
        ?>
        
        </div><!-- End div baituongtrung-->
        <div class="listbailienquan">
       <?php
	
            // $p = isset($_GET['p'])? $_GET['p'] : 0;	
          //  foreach($this->listContainer($p) as $value){
            //    echo $value;
           // }
           // echo $this->breakPage;
             $res = $this->container->ExecuteTable("tour_dulich","1 ORDER BY id_tour DESC LIMIT 1,10");
                    while($record = mysql_fetch_array($res)){
    					$mabaiviet = $record['id_tour'];
    					$name = $record['ten_tour'];
    					$gioithieu=$record['gioithieu'];
                        echo "<a href='./?rt=page&idtour={$record['id_tour']}' title='$gioithieu'>".$name."</a></br>";
	}
        ?>
        <!-- <img src="Public/images/bgcontent.png"/>-->
        </div> <!-- end div listbailienquan-->
        </div> <!-- end div tuadulich-->
    
    <!-- end div mainnaviright -->
<?php
    //include("public/includes/mainright.php");	
    include("public/includes/footer.php"); 
    
?>
